<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
import {mapState, mapGetters, mapMutations, mapActions} from 'vuex';

export default {
  name: 'App',
  methods:{
    getmsg(){
      this.addPersonServer;
    }
  },
  computed:{
    // 从vuex的state生成映射计算属性(对象写法)
    // ...mapState({theme:'theme'}),
    // 数组写法
    // ...mapState("configOptions",['theme']),

    // // 从vuex的getters生成映射计算属性(数组写法)
    // ...mapGetters("dataOptions",['setCurrentUser']),

    // ...mapMutations("configOptions",{}),
    // ...mapActions("dataOptions",["addPersonServer"])
  },
  mounted(){
  }
}
</script>

